package String2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 洪汤泽大帅哥
 * Date: 2024-11-10
 * Time: 17:50
 */
public class demo7 {
    public static void main(String[] args) {
        String str = "abcdbbdbshdhshdhs";
        String ret = str.substring(4);

        String ret1 = str.substring(4,6);

        System.out.println(ret);
        System.out.println(ret1);
    }
}
